/**
 * 
 */
package com.meetingshow.meeting.uiservice.model;

import java.util.Date;

import com.meetingshow.common.base.uiservice.model.BaseVO;
import com.meetingshow.meeting.dao.model.MeetingTypePO;

/**
 * @author louyi
 *
 */
public class MeetingTypeVO extends BaseVO {
    /**
     * 
     */
    private static final long serialVersionUID = -4149025672706100025L;
    
    private Integer typeId;
    private String typeName;
    private Date createTime;
    
    public MeetingTypeVO() {
    }
    
    public MeetingTypeVO(MeetingTypePO meetingTypePO) {
        setTypeId(meetingTypePO.getTypeId());
        setTypeName(meetingTypePO.getTypeName());
        setCreateTime(meetingTypePO.getCreateTime());
    }
    
    public MeetingTypePO toMeetingTypePO() {
        MeetingTypePO meetingTypePO = new MeetingTypePO();
        
        meetingTypePO.setTypeId(getTypeId());
        meetingTypePO.setTypeName(getTypeName());
        meetingTypePO.setCreateTime(getCreateTime());
        
        return meetingTypePO;
    }
    
    /**
     * @return the typeId
     */
    public Integer getTypeId() {
        return typeId;
    }
    /**
     * @param typeId the typeId to set
     */
    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
    /**
     * @return the typeName
     */
    public String getTypeName() {
        return typeName;
    }
    /**
     * @param typeName the typeName to set
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
    /**
     * @return the createTime
     */
    public Date getCreateTime() {
        return createTime;
    }
    /**
     * @param createTime the createTime to set
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
